suppressMessages({
  # general purpose ----
  library(here)
  library(tidyverse)
  library(cli)
  library(fs)
  library(jsonlite)
  library(matrixStats)

  # alarm project ----
  library(geomander)
  library(censable)
  # library(PL94171)
  library(redist)
  library(redistmetrics)
  library(ggredist)
  library(alarmdata)

  # other data ----
  library(tigris)

  # spatial ----
  library(sf)

  # modeling -----
  library(lme4)

  # plotting ----
  library(wacolors)
  library(patchwork)
  library(scales)
  library(geomtextpath)
  library(ggdist)
  if (Sys.info()[["sysname"]] == "Windows") {
    library(extrafont)
    loadfonts(device = "win")
  }
})

FORCE_REFRESH = FALSE
lapply(Sys.glob(here("R/utils/*.R")), source)

cli_alert_success("Packages loaded and utilities prepared.")
